﻿@model Rapid.Entity.Basic.BasicFunction

<form id="mfunction-form" class="form-edit" method="post">
    <div class="form-title panel-body">功能信息</div>
    <div class="form-row fn-clear">
        <div class="form-label">选择图标</div>
        <div class="form-box">
            <input id="mfunction-icon" name="Icon" value="@Model.Icon" />
            <span class="form-info">功能显示为按钮时的按钮图标。</span>
        </div>
    </div>
    <div class="form-row fn-clear">
        <div class="form-label">名称</div>
        <div class="form-box">
            <input name="Name" class="easyui-textbox" data-options="required:true,width:135" value="@Model.Name" />
            <span class="form-info">通常显示为按钮名称。</span>
        </div>
    </div>
    <div class="form-row fn-clear">
        <div class="form-label">类型</div>
        <div class="form-box">
            <div class="easyui-radio">
                @Easyui.RadioItem("Type", "func", "功能", Model.Type)
                @Easyui.RadioItem("Type", "purview", "权限", Model.Type)
            </div>
            <span class="form-info">具体表示功能的作用类型。</span>
        </div>
    </div>
    <div class="form-row fn-clear">
        <div class="form-label">功能标记</div>
        <div class="form-box">
            <input name="Func" class="easyui-textbox" data-options="width:120" value="@Model.Func" />
            <span class="form-info">主要用于关联前端 UI 组件或函数的标记。</span>
        </div>
    </div>
    <div class="form-row fn-clear">
        <div class="form-label">权限标记</div>
        <div class="form-box">
            <input name="Purview" class="easyui-textbox" data-options="width:120" value="@Model.Purview" />
            <span class="form-info">对于后台权限有控制的功能的权限识别标记。</span>
        </div>
    </div>
    <div class="form-row fn-clear">
        <div class="form-label">描述信息</div>
        <div class="form-box">
            <input name="Remark" class="easyui-textbox" data-options="multiline:true,width:'100%',height:60" value="@Model.Remark" />
        </div>
    </div>
    <input name="ID" type="hidden" value="@Model.ID" />
    <input name="Sequence" type="hidden" value="@Model.Sequence" />
    <input name="InsertTime" type="hidden" value="@Model.InsertTime" />
    <input name="UpdateTime" type="hidden" value="@Model.UpdateTime" />
</form>